import './assets/index.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 1. 引入你需要的组件
import { Field, Button, CellGroup, Toast, Cell, ShareSheet, FloatingBubble } from 'vant'
// 2. 引入组件样式
import 'vant/lib/index.css'

const app = createApp(App)

app.use(createPinia())
app.use(router)

app.use(Button).use(CellGroup).use(Field).use(Toast).use(Cell).use(ShareSheet).use(FloatingBubble)

app.mount('#app')
